import http from "@/api/http";

export function getUserInfo() {
  return http.get({ url: "/system/personal/info" });
}

export function updateUserInfo(data) {
  return http.put({
    url: "/system/personal/info",
    data
  });
}

export function updateUserPwd(data) {
  return http.put({
    url: "/system/personal/pwd",
    data
  });
}
